// ignore_for_file: non_constant_identifier_names

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:verse_systems/res/colors.dart';
import 'package:verse_systems/widgets/custom_loan_amount_appbar.dart';
import 'package:verse_systems/widgets/sp_button.dart';


class CertificationConfirmMode extends StatelessWidget {
  final Function() onPressed;
  final String?  confirm_quota_description;

  const CertificationConfirmMode({super.key, required this.onPressed, this.confirm_quota_description});

 

  @override
  Widget build(BuildContext context) {
    return SingleChildScrollView(
        child: Container(
      color: Colours.app_main_color,
      child: Column(
        children: [
          const CustomLoanAmountAppbar(),
          Container(
                  margin: EdgeInsets.fromLTRB(30.w, 44.w, 30.w, 23),
                  child: Text(
                    confirm_quota_description.toString(),
                    style: TextStyle(
                      color: Colours.app_forward_color,
                      fontSize: 10.sp,
                    ),
                    textAlign: TextAlign.center,
                  ),
                ),
          Container(
            margin: EdgeInsets.fromLTRB(0, 240.w, 0, 46.w),
            width: 310.w,
            child: SPButton(
              minHeight: 50.w,
              fontSize: 18.sp,
              text: "apply_quota_loan".tr,
              textColor: Colours.app_main_color,
              backgroundColor: Colours.app_main_background_color,
              radius: 25.w,
              onPressed: onPressed,
            ),
          ),
        ],
      ),
    ));
  }
}
